<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>在此处插入标题</title>
<link rel="stylesheet"
	href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script
	src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script
	src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
	<%
		String teacher = (String) session.getAttribute("teacher");
		System.out.print(teacher);
	%>
	<nav class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-collapse collapse">
			<div class="container">
				<ul class="nav navbar-nav">
					<li style="font-size: 18px; text-color: #ffffff;"><a>上机考试系统</a></li>
					<li><a href="teacher_main.jsp">首页 </a></li>
					<li><a href="exam_before.jsp">考前操作 </a></li>
					<li class="dropdown"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown"><i class="icon-time icon-white"></i>考中管理<span class="caret"></span></a>
						<ul class="dropdown-menu">
							<li><a href="manage_show.jsp">考试概况</a></li>
							<li><a href="../FenYe">学生信息</a></li>
							<li><a href="manage_unlock.jsp">解除锁定</a></li>
							<li><a href="manage_notify.jsp">通知管理</a></li>
						</ul>
					</li>
					<li><a href="exam_after.jsp">考后操作</a></li>
				</ul>
				<ul class="nav navbar-nav pull-right" style="float: right">
					<li><a>欢迎 <%=teacher%> 老师</a></li>
					<li><a href="" data-toggle="modal" data-target="#myModal">
						<i class="icon-pencil icon-white"></i>修改密码 </a></li>
					<li><a href="../index.jsp"><i class="icon-pencil icon-white"></i>退出</a></li>
				</ul>
			</div>
		</div>
	</nav>
	<div class="container" style="margin-top: 50px">
		<h1>
			上机考试管理系统
		</h1>
	</div>
	<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
		aria-labelledby="myModalLabel" aria-hidden="true">
		<div class="modal-dialog modal-sm" >
			<div class="modal-content">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal"
						aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
					<h4 class="modal-title" id="myModalLabel">
						<b>修改密码</b>
					</h4>
				</div>
				<form action="../ChangeTeacherPwd" method="post">
					<div class="alert navbar-inverse "
						style="background-color: #eeeeee; height: auto; margin-top: 20px">
						<input type="password" style="width: 250px" placeholder="原密码" name="oldPwd" class="form-control"> 
						<br /> 
						<input type="password" style="width: 250px" placeholder="新密码" name="newPwd1" class="form-control"> 
						<br /> 
						<input type="password" style="width: 250px" placeholder="重输新密码" name="newPwd2" class="form-control"> 
						<br />
						<button type="submit" style="width: 250px" class="btn btn-primary">修改</button>
					</div>
				</form>
			</div>
		</div>
	</div>
</body>
</html>